package com.example.service;

import com.example.DTO.CommentDTO;
import com.example.pojo.Comment;

import java.util.List;

public interface CommentService {
    void add(Comment comment);

    List<CommentDTO> list(Integer articleId);

    void reply(Comment comment);

    List<CommentDTO> listChild(Integer parentId);
}
